package com.ecut.drug_bid.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class RegisterRequest {
    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;

    @NotBlank(message = "单位名称不能为空")
    private String orgName;

    private String phone;

    @NotNull(message = "用户类型不能为空")
    private String userType; // "BIDDER" 或 "TENDER"
}